package com.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fegin.bean.admin.AdminUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author 张子艺
 * @since 2019-01-08
 */
public interface UserMapper extends BaseMapper<AdminUser> {
 AdminUser login(@Param("userName") String userName, @Param("passWord") String passWord);



 List<AdminUser> selectMyPage(@Param("map") Map map);
 Integer  countMyPage(@Param("map") Map map);

 List<AdminUser> findDistributionPeoPleByPage(@Param("map") Map map);
 Integer  countDistributionPeoPleByPage(@Param("map") Map map);
}